<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/jquery.js"></script>
    <script src="./js/jquery-mobile.js"></script>
    <link rel="stylesheet" href="./js/jquery-mobile.css">
</head>
<body>
   
    <div data-role="page">
        <div data-role="header"><h2>顶部</h2></div>
        <div data-role="content">
            <a href="#myPopup" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all" data-position-to="window">显示弹窗</a>
            <div data-role="popup" id="myPopup" class="ui-content">
                <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">关闭</a>
                <p>这是一个简单的弹窗</p>
            </div>
        </div>
        <div data-role="footer" data-position="fixed"><h2>底部</h2></div>
    </div>
</body>
</html>